package com.easy.threads.singleton;


import com.easy.threads.actuator.Warehouse;

/**
 * 描述:
 *
 * @author gwj
 * @date 2023年12月14日 15:25
 */

public enum WarehouseSingleton {

    WAREHOUSE_SINGLETON;

    private final Warehouse warehouse;

    WarehouseSingleton( ) {
        this.warehouse = new Warehouse();
    }

   public Warehouse getInstance(){
        return warehouse;
    }
}
